package com.fzrskj.cloud.free.core.utils;

import com.fzrskj.cloud.free.core.opitimize.session.SessionCoreUtils;

/**
 * SessionUtils.
 *
 * @author zj.
 *         Created on 2018/12/17 0017.
 */
@Deprecated
public class SessionUtils {
    /**
     * 设置 Session.
     * @param name session name.
     * @param value session value.
     */
    @Deprecated
    public static void set(String name, Object value) {
        SessionCoreUtils.set(name, value);
    }

    /**
     * 获取Session.
     * @param name
     * @param <T>
     * @return
     */
    @Deprecated
    public static <T> T get(String name) {
        return SessionCoreUtils.get(name);
    }
}
